package com.example.backend.service;

import com.example.backend.pojo.Complain;

import java.util.List;

public interface ComplainService {
    List<Complain> getallbyuserid(Integer userid);
    void addcomplain(Complain Complain);
    void statechange(Integer complainid, Integer state);
    List<Complain> getstate(String restaurantid,Integer state);

    void accept(Complain complain);
    void retry(Complain complain);

    Complain getByid(Integer complainid);

}
